package com.dynamoc.client;

import com.dynamoc.jdk.JdkDybnamic;
import com.dynamoc.service.Service;
import com.dynamoc.service.impl.ServiceImpl;

public class Jdktest {
    public static void main(String[] args) {
        Service service = new ServiceImpl();
        JdkDybnamic jdkDybnamic = new JdkDybnamic();
        Service proxyBOject = (Service) jdkDybnamic.getProxyObject(service);
        proxyBOject.addOne();
        proxyBOject.deleteOne();

    }
}
